package com.gy.hsim.bservice.framework.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gy.hsim.bservice.ecomInfo.bean.SaleAndOperatorRelation;


public interface SaleRelationMapper {
	/**
	 * 根据企业号和营业点查询营业点下的操作员
	 * @param enterprise
	 * @param sale_network
	 * @param operator
	 * @return
	 * @throws Exception
	 */
	public List<SaleAndOperatorRelation> queryOprerators(@Param("enterprise")String enterprise,@Param("sale_network")String sale_network) throws Exception;
	/**
	 * 根据企业互生号和操作员号查询操作员角色、营业点ID和营业点名称
	 * @param enterprise
	 * @param operator
	 * @param operator
	 * @return
	 * @throws Exception
	 */
	public List<SaleAndOperatorRelation> queryOperatorInfo(@Param("enterprise")String enterprise,@Param("operator")String operator) throws Exception;
}
